package com.example.emos.api.controller.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Min;

/**
 * @author: zhaoyu
 * @date: 2023/12/16 16:45
 */
@Data
@Schema(description = "查询报销分页记录表单")
public class SearchReminByPageForm {

    @Min(value = 1, message = "deptId不能小于1")
    @Schema(description = "部门ID")
    private Integer deptId;

    @Min(value = 1, message = "typeId不能小于1")
    @Schema(description = "类型ID")
    private Byte typeId;

    private int page;

    private int length;

}
